//
//  AppController.h
//  AMSerialTest
//
#import <Cocoa/Cocoa.h>
#import "AMSerialPort.h"

@interface AppController : NSObject {
	IBOutlet NSTextField *inputTextField;
	IBOutlet NSTextField *deviceTextField;
	IBOutlet NSTextView *outputTextView;
	AMSerialPort *port;
	NSString *deviceName;
}
- (AMSerialPort *)port;
- (void)setPort:(AMSerialPort *)newPort;
- (IBAction)listDevices:(id)sender;
- (IBAction)chooseDevice:(id)sender;
- (IBAction)send:(id)sender;
- (IBAction)fan:(id)sender;
- (IBAction)light:(id)sender;
- (IBAction)mum:(id)sender;
- (IBAction)tom:(id)sender;
- (IBAction)dialTom:(id)sender;
- (IBAction)stuart:(id)sender;
- (IBAction)answer:(id)sender;
- (IBAction)hash:(id)sender;
- (IBAction)one:(id)sender;
- (IBAction)two:(id)sender;
- (IBAction)three:(id)sender;
- (IBAction)four:(id)sender;
- (IBAction)five:(id)sender;
- (IBAction)six:(id)sender;
- (IBAction)seven:(id)sender;
- (IBAction)eight:(id)sender;
- (IBAction)nine:(id)sender;
- (IBAction)zero:(id)sender;
@end